/**
 * Created by 小敏哥on 2017/3/8.
 */
import {
    COUPON_LIST
} from "../actions/actionsTypes"

export default function couponReducer(state = {}, action) {
    switch (action.type) {
        case COUPON_LIST:
            return Object.assign({}, state, {couponList: action.data});
        default:
            return state;
    }
}